package com.ipfsemc.ipfsemc.mapper;

import com.ipfsemc.ipfsemc.model.Product;

import java.math.BigDecimal;
import java.util.List;

public interface ProductMapper {
    int deleteByPrimaryKey(String proId);

    int insert(Product record);

    int insertSelective(Product record);
    int insertCategory(Product record);

    Product selectProByKey(String categoryId);

    int updateByPrimaryKeySelective(Product record);
    int updateCategory(Product record);

    int updateByPrimaryKey(Product record);

    List<Product> list(Product product);
    List<Product> listProduct();


}